package ch.janotta.slawo.da.algirithm.lifecycle;

import java.util.ArrayList;
import java.util.List;

import ch.janotta.slawo.da.Ability;
import ch.janotta.slawo.da.Entity;
import ch.janotta.slawo.da.modifier.Modifier;
import ch.janotta.slawo.da.modifier.ModifierFactory;

public class GenerateFullRandomStartingAbilitiesModificationAlgorithm implements EntityModificationAlgorithm {
  @Override
  public List<Modifier> getAllModifiers(Entity entity) {
    List<Modifier> allModifiers = new ArrayList<>();
    allModifiers.add(ModifierFactory.getInstance(Ability.Communication));
    allModifiers.add(ModifierFactory.getInstance(Ability.Constitution));
    allModifiers.add(ModifierFactory.getInstance(Ability.Cunning));
    allModifiers.add(ModifierFactory.getInstance(Ability.Dexterity));
    allModifiers.add(ModifierFactory.getInstance(Ability.Magic));
    allModifiers.add(ModifierFactory.getInstance(Ability.Perception));
    allModifiers.add(ModifierFactory.getInstance(Ability.Strength));
    allModifiers.add(ModifierFactory.getInstance(Ability.Willpower));
    return allModifiers;
  }
}
